__author__ = 'evenvi'
#!/usr/bin/env python
# Exapnded DNS library example -Chapter 4 DNSany.py

import sys, DNS

def hierquery(qstring, qtype):
    reqobj = DNS.Request()
    try:
        answerobj = reqobj.req(name = qstring, qtype = qtype)

    except e:
        print 'hello'
